label.error {
    position: inherit;
}


body {
    width: 100%;
    height: 100%;
    background: url("../img/login-background.jpg") no-repeat;
    overflow: hidden;
    background-size: 100%;
}

.before {
    content: "";
    background-color: rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card {
    position: absolute;
    left: 50%;
    right: 50%;
    top: 50%;
    bottom: 50%;
    margin-left: -180px;
    margin-top: -220px;
    width: 380px;
    height: 400px;
    padding: 25px 30px;
    background-color: #fff;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.19);
    box-sizing: border-box;
    border-radius: 4px;
}

.card > h2 {
    color: #333;
    font-size: 22px;
    text-align: center;
    margin-top: -1px;
    margin-bottom: 25px;
}

#signupForm > div {
    position: relative;
}

#signupForm > div > span {
    color: #a8a7a7;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 18px;
    margin-top: -10px;
    outline: none
}

#signupForm div #username, #password {
    width: 100%;
    font-size: 16px;
    border: 1.1px solid #e7e7e7;
    padding-left: 46px;
    color: black;
    height: 46px;
    line-height: 46px;
    border-radius: 2px !important;
    outline: none
}

.yanzhengma {
    width: 38%;
    height: 46px;
    position: absolute;
    right: 0;
}

.yanzhengma > img {
    width: 100%;
    height: 100%;
}

#validateCode {
    width: 58%;
    font-size: 16px;
    border: 1.1px solid #e7e7e7;
    padding-left: 46px;
    color: black;
    height: 46px;
    line-height: 46px;
    border-radius: 2px !important;
    outline: none
}

/*!*
 登录界面check样式
 *!*/
.checkbox-custom {
    margin-left: 3px;
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    display: inline-block;
}

/*!*
 将初始的checkbox的样式改变
 *!*/
.checkbox-custom input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 3px;
}

/*!*
 设计新的checkbox，位置
 *!*/
.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #bbb;
    background: #fff;
}

/*!*
 点击初始的checkbox，将新的checkbox关联起来
 *!*/
.checkbox-custom input[type="checkbox"]:checked + label:after {
    position: absolute;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    top: 42%;
    left: 3px;
    margin-top: -5px;
    font-size: 11px;
    line-height: 1;
    width: 16px;
    height: 16px;
    color: #333;
}

.checkbox-custom label {
    cursor: pointer;
    line-height: 1.2;
    font-weight: normal;
    margin-bottom: 0;
    text-align: left;
}

#btnSubmit {
    width: 100%;
    height: 50px;
    background-color: #5FB878;
    border-color: #5FB878;
    margin-top: 20px;
}